package ac.il.technion.cs236635.project.core.messages;

import java.io.Serializable;

import org.jgroups.Address;

public class IntroductionBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6334903868735329495L;
	
	private String serverName;
	
	private Address address;
	
	private String ednpoint;

	public IntroductionBean( ) {
		
	}
	
	public IntroductionBean( final String name, final String endpoint, final Address address) {
		this.serverName = name;
		this.ednpoint 	= endpoint;
		this.address 	= address;
	}
	
	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public String getEdnpoint() {
		return ednpoint;
	}

	public void setEdnpoint(String ednpoint) {
		this.ednpoint = ednpoint;
	}
}
